var xhr = new XMLHttpRequest();
xhr.open('POST', 'http://e.chuanmao.cc/admin/login');
xhr.send(null);
xhr.onload = function(e) {
    var xhr = e.target;
    console.log(xhr.responseText);
}

var xhr = new XMLHttpRequest();
xhr.open('POST', 'http://172.122.14.14:8080/admin/login?username=admin&password=admin');
xhr.send(null);
xhr.onload = function(e) {
    var xhr = e.target;
    console.log(xhr.responseText);
}